home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
program
/
vgatx10s.zip
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1997-04-12
|
2KB
|
95 lines
#
# VgaText Class
# Copyright (c) 1995-1997 Branislav L. Slantchev
# A Product of Silicon Creations, Inc.
#
# Makefile for building the VGA text mode effects library
#
# This is a Borland C++ 3.1 specific makefile.
#
# Command line options:
#
# make <- build the library
# make clean <- remove all .obj and temp files
#
#
# Set up the compiler location (root) and support directories
#
PBLIB_DIR = e:\sci\pbl
COMPILER_DIR = e:\c\bc
INCLUDE_DIR = $(COMPILER_DIR)\h;$(PBLIB_DIR)\h
#
# Set up some Borland make-specific features
#
.autodepend
.swap
#
# Set up the commands to run the utilities and support filenames
#
PCH = vgatext.sym
CC = $(COMPILER_DIR)\bin\bcc +$(CONFIG)
LIB = $(COMPILER_DIR)\bin\tlib /0
LIBDIR = $(PBLIB_DIR)\lib
CONFIG = vgatext.cfg
LIBRSP = vgatext.rsp
TARGET = $(LIBDIR)\vgatext
#
# List of all object files that go into the library
#
OBJS = vgatext.obj
#
# Implicit rule for compiling .C files
#
.cpp.obj:
$(CC) {$. }
#
# This is where the library is actually made
#
$(TARGET): $(CONFIG) $(OBJS) $(LIBRSP)
@if exist $(TARGET).lib del $(TARGET).lib
$(LIB) $@ @$(LIBRSP),nul
@del $(LIBRSP)
@if exist $(TARGET).bak del $(TARGET).bak
#
# Create the librarian response file
#
$(LIBRSP):
makersp "+%s &\n" &&|
$(OBJS)
| > $(LIBRSP)
#
# Clean all temporary and intermediate files
#
clean:
if exist *.obj del *.obj
if exist *.sym del *.sym
if exist $(CONFIG) del $(CONFIG)
#
# Create the compiler configuration file
#
$(CONFIG): makefile
copy &&|
-3
-f-
-G
-ml
-O2
-P
-w
-X
-v-
-c
-I$(INCLUDE_DIR)
-DNDEBUG=1
| $(CONFIG)